package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

/*解质押
 * */
public class RetAtsB304ImPledge extends RetAtsBase {
    public String TransState;
    public String RespInfo;
    public String CommandCode;
    public String PayInfoCode;
    public String RespCode;
    public String AccountNum;
    public String ReqSeqID;

    public RetAtsB304ImPledge(ReqRespHeader p_header) {
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();//用于输出返回ATS的XML报文
    }

    public void writeRetAtsXml(RetAtsB304ImPledge B304) {
        retXmlWriter.writeElementString("RespInfo", RespInfo);
        retXmlWriter.writeElementString("RespCode", RespCode);
        retXmlWriter.writeStartElement("DetailRecord");
        retXmlWriter.writeElementString("TransState", TransState);
        retXmlWriter.writeElementString("PayInfoCode", PayInfoCode);
        retXmlWriter.writeElementString("AccountNum", AccountNum);
        retXmlWriter.writeElementString("ReqSeqID", ReqSeqID);
        writeEnd();
    }
}
